home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / misc / wingrab2.zip / AMI_WGDB.DOC < prev    next >
Text File  |  1993-08-31  |  2KB  |  46 lines

  1.             Wingdb Macro for Ami-Pro
  2.  
  3. This Ami-Pro Macro was prepared using Ami-Pro version 1.2b and
  4. has not been tested with later versions.  It should run
  5. properly, although it may be improved in later versions of
  6. Ami-Pro with macro language enhancements.
  7.  
  8. The macro shown below may need to be modified in order to work
  9. properly on your system.  The line that uses the 'exec' function
  10. calls wingdb.exe and passes the name of the work file to the
  11. wingdb.exe program.  The first time you run Wingdb it creates a
  12. work file name of wingdb.ix.  If you use a different file name
  13. for your work file, replace the wingdb.ix file name with your
  14. work file name.  Also, the path for the wingdb.exe program is
  15. assumed to be c:\grabplus.  You will have to change this path if
  16. it differs on your system.
  17.  
  18.  
  19. FUNCTION WGD1()
  20. exec("c:\grabplus\wingdb.exe"," c:\grabplus\wingdb.ix")
  21. minimize()
  22. usercontrol("Paste address into document?")
  23. restore()
  24. paste()
  25. END FUNCTION
  26.  
  27. Technical notes.
  28.  
  29. The 'exec' function does not pause the macro.  If you run a
  30. program the macro will continue to run and in this instance you
  31. will not be given a chance to copy an address into the
  32. clipboard.  The "usercontrol" function is used to pause the
  33. macro. 
  34.  
  35. The  'minimize' and 'restore' functions are used to reduce
  36. Ami-Pro to an icon because the 'usercontrol' function will cause
  37. Ami-Pro to be the forground window and cover up the running
  38. wingdb program.
  39.  
  40. If you have suggestions on improving this macro we would
  41. appreciate you letting us know.
  42.  
  43. Advanced Support Group, Inc.
  44. 11900 Grant Pl.
  45. Des Peres, MO 63131
  46. 314-256-3130